cmake_minimum_required(VERSION 3.0)

project(undistrot)

find_package(OpenCV REAQUIRED)

include_directories(${OpenCV_INCLUDE_DIRS})

link_libraries(${OpenCV_LIBRARY_DIRS})

add_executable(undistrot main.cpp)

target_link_libraries(undistrot ${OpenCV_LIBS})

install(TARGETS undistrot RUNTIME DESTINATION bin)
